package controller;

import java.util.Observable;
import java.util.Observer;

import model.TemperatureModel;
import view.TemperatureView;

public abstract class Controller implements java.util.Observer{
	protected Observable model;
	protected Observer view;
	
	public Controller(int marginTop, int marginLeft, Observable model, Observer view){
		this.model = model;
		this.view  = view;
	}
	
	@Override
	public void update(Observable arg0, Object arg1) {
		model.notifyObservers();
		
	}	
}
